package com.qys.training.biz.file.mapper;

import com.qys.training.biz.file.dto.FileFindDTO;
import com.qys.training.biz.file.entity.FileEntity;

import java.util.List;

public interface FileMapper {

    Long insert(FileEntity file);

    FileEntity selectById(Long id);

    Boolean updateById(FileEntity file);

    Boolean deleteById(Long id);

    List<FileEntity> findByNameAndSize(FileFindDTO dto);

}
